<?php	$atr=array(
					"name"=>"project",
					"onsubmit"=>"return checkProject()"
				  ); 
	echo form_open('project/edit1',$atr);
	$bar="Project Edit"; 
?> 

<table id="box-table-a" cellspacing="1" align="right" width="900px">
	<tr>
		<td colspan=7 align=right class=bar><?php echo $bar;?></td>
	</tr>
	<tr>
		<th>Project_ID </th>
		<th>ProjectName</th>
		<th>BeginDate</th>
		<th>EndDate</th>
		<th>Lab_ID</th>
		<th>Action</th>
	</tr>
	<tr>
		<td><input type="text" name ="Project_ID" readonly="readonly" value=<?php echo $result->Project_ID; ?>></td>
   		<td><input type= "text" name ="ProjectName" value="<?php echo $result->ProjectName; ?>"></td>
   		<td><input type= "text" name ="BeginDate" value=<?php echo $result->BeginDate; ?> onkeyup="dtval(this,event)" maxlength="10"></td>
   		<td><input type= "text" name ="EndDate" value=<?php echo $result->EndDate; ?> onkeyup="dtval(this,event)" maxlength="10"></td>
   		<td><?php echo form_dropdown('Lab_ID', $lab,$result->Lab_ID );?></td>   			
   		<td align="center"><input type="submit" id="submit" value="edit"/> </td>
	</tr>
</table>
